package com.personnel_management.pojo;

import java.sql.Date;

public class StaffVo extends Staff {
    //拓展出部门表的name和city 职务表的name和wages
    private String depart_name;
    private String city;
    private String position_name;
    private Double wages;

    public String getDepart_name() {
        return depart_name;
    }

    public void setDepart_name(String depart_name) {
        this.depart_name = depart_name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPosition_name() {
        return position_name;
    }

    public void setPosition_name(String position_name) {
        this.position_name = position_name;
    }

    public Double getWages() {
        return wages;
    }

    public void setWages(Double wages) {
        this.wages = wages;
    }

    public StaffVo() {
    }

    public StaffVo(String name, String phone, boolean sex, Date birthday, String edu, int depart_id, int position_id) {
        super(name, phone, sex, birthday, edu, depart_id, position_id);
    }

    public StaffVo(String name, String phone, boolean sex, Date birthday, String edu, int depart_id, int position_id, String depart_name, String city, String position_name, Double wages) {
        super(name, phone, sex, birthday, edu, depart_id, position_id);
        this.depart_name = depart_name;
        this.city = city;
        this.position_name = position_name;
        this.wages = wages;
    }
}
